/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Decorator4;

/**
 *
 * @author Marcel
 */
public class Main {
    
    public static void main(String[] args) {
        
        Estudio e = new EstudioSimples();

        e = new Guitarra(e);
        e = new Amplificador(e);
        e = new Violao(e);
                           
        System.out.println(e.getValor());
        System.out.println(e.getAcessorios());
        
   
    }
    
}
